<!-- 子组件 -->
<template>
  <p class="text">Hello from Child</p>
</template>
<script>
export default {
  name: 'Child'
}
</script>

<style>
.text {
  color: blue;
}
</style>